<template>
  <h1>El-按钮组件</h1>
  <el-button>按钮</el-button>

  <!--如果写el-button有提示，说明IDEA插件element安装成功了  -->
  <!--参照笔记完成以上两步 注意重启IDEA -->
  <el-button type="primary" plain>蓝色镂空按钮</el-button>
  <el-button type="info" circle>灰色圆形按钮</el-button>
  <el-button type="danger" round>红色胶囊型按钮</el-button>
  <a href="https://www.baidu.com">
    <el-button type="warning" link>黄色链接按钮</el-button>
  </a>
  <el-button type="success" disabled>绿色禁用按钮</el-button>

  <el-button :icon="Search" circle />
  <el-button type="primary" :icon="Edit" circle />
  <el-button type="success" :icon="Check" circle />
  <el-button type="info" :icon="Message" circle />
  <el-button type="warning" :icon="Star" circle />
  <el-button type="danger" :icon="Delete" circle />
</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>

<style scoped>

</style>